package com.ruoyi.project.warehouseSystem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 入库的申请对象 c_intwarehouse
 * 
 * @author wangshuo
 * @date 2021-07-18
 */
public class CIntwarehouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 入库申请单号 */
    @Excel(name = "入库申请单号")
    private String rkNumber;

    /** 入库申请人 */
    @Excel(name = "入库申请人")
    private String rkUser;

    /** 入库申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rkTime;

    /** 仓库 */
    @Excel(name = "仓库")
    private String rkWhouse;

    /** 入库配件（风机x3,水泵x4），配件名字+数量 */
    @Excel(name = "入库配件", readConverterExp = "风=机x3,水泵x4")
    private String rkAccessories;

    /** 入库申请说明 */
    @Excel(name = "入库申请说明")
    private String rkDeclare;

    /** 入库申请状态（0-待处理，1-已通过，2-已驳回） */
    @Excel(name = "入库申请状态", readConverterExp = "0=-待处理，1-已通过，2-已驳回")
    private Long rkState;

    /** 入库审批处理说明 */
    @Excel(name = "入库审批处理说明")
    private String rkExamineinfo;

    /** 入库审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rkExamtime;

    /** 入库审批人员 */
    @Excel(name = "入库审批人员")
    private String rkExamuser;

    /** 备用1 */
    @Excel(name = "备用1")
    private String rkText1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String rkText2;

    /** 备用3 */
    @Excel(name = "备用3")
    private Long rkText3;

    /** 备用4 */
    @Excel(name = "备用4")
    private Long rkText4;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRkNumber(String rkNumber) 
    {
        this.rkNumber = rkNumber;
    }

    public String getRkNumber() 
    {
        return rkNumber;
    }
    public void setRkUser(String rkUser) 
    {
        this.rkUser = rkUser;
    }

    public String getRkUser() 
    {
        return rkUser;
    }
    public void setRkTime(Date rkTime) 
    {
        this.rkTime = rkTime;
    }

    public Date getRkTime() 
    {
        return rkTime;
    }
    public void setRkWhouse(String rkWhouse) 
    {
        this.rkWhouse = rkWhouse;
    }

    public String getRkWhouse() 
    {
        return rkWhouse;
    }
    public void setRkAccessories(String rkAccessories) 
    {
        this.rkAccessories = rkAccessories;
    }

    public String getRkAccessories() 
    {
        return rkAccessories;
    }
    public void setRkDeclare(String rkDeclare) 
    {
        this.rkDeclare = rkDeclare;
    }

    public String getRkDeclare() 
    {
        return rkDeclare;
    }
    public void setRkState(Long rkState) 
    {
        this.rkState = rkState;
    }

    public Long getRkState() 
    {
        return rkState;
    }
    public void setRkExamineinfo(String rkExamineinfo) 
    {
        this.rkExamineinfo = rkExamineinfo;
    }

    public String getRkExamineinfo() 
    {
        return rkExamineinfo;
    }
    public void setRkExamtime(Date rkExamtime) 
    {
        this.rkExamtime = rkExamtime;
    }

    public Date getRkExamtime() 
    {
        return rkExamtime;
    }
    public void setRkExamuser(String rkExamuser) 
    {
        this.rkExamuser = rkExamuser;
    }

    public String getRkExamuser() 
    {
        return rkExamuser;
    }
    public void setRkText1(String rkText1) 
    {
        this.rkText1 = rkText1;
    }

    public String getRkText1() 
    {
        return rkText1;
    }
    public void setRkText2(String rkText2) 
    {
        this.rkText2 = rkText2;
    }

    public String getRkText2() 
    {
        return rkText2;
    }
    public void setRkText3(Long rkText3) 
    {
        this.rkText3 = rkText3;
    }

    public Long getRkText3() 
    {
        return rkText3;
    }
    public void setRkText4(Long rkText4) 
    {
        this.rkText4 = rkText4;
    }

    public Long getRkText4() 
    {
        return rkText4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rkNumber", getRkNumber())
            .append("rkUser", getRkUser())
            .append("rkTime", getRkTime())
            .append("rkWhouse", getRkWhouse())
            .append("rkAccessories", getRkAccessories())
            .append("rkDeclare", getRkDeclare())
            .append("rkState", getRkState())
            .append("rkExamineinfo", getRkExamineinfo())
            .append("rkExamtime", getRkExamtime())
            .append("rkExamuser", getRkExamuser())
            .append("rkText1", getRkText1())
            .append("rkText2", getRkText2())
            .append("rkText3", getRkText3())
            .append("rkText4", getRkText4())
            .toString();
    }
}
